SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO


-- =============================================
-- Author:		Emanuel Santos
-- Create date: 18-01-2013
-- Description:	Listar todas as categorias
-- =============================================
CREATE PROCEDURE [ext].[listarCategorias] 

AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT id_categoria, nome as descricao
	FROM [ext].[categoria]
END


GO
